package com.app.designpattern.designprinciples.demeter

import android.util.Log

/**
 *
 * USER: zjw
 * DATA: 2019/4/4 0004
 * TIME: 下午 3:55
 */
class Leader {
    fun checkNumber() {
        var list = ArrayList<Book>()
        for (i in 0..10) {
            list[i] = Book()
        }
        Log.i("demeter", "list的个数是${list.size}")
    }
}